package cn.yunhe.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Dept implements Serializable {
    private int dept_id;
    private String dept_name;
    private School school;

    public Dept() {
        super();
    }

    public Dept(int dept_id, String dept_name, School school) {
        this.dept_id = dept_id;
        this.dept_name = dept_name;
        this.school = school;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "dept_id=" + dept_id +
                ", dept_name='" + dept_name + '\'' +
                ", school=" + school +
                '}';
    }
}
